package com.simtop.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * 实验评星与建议
 */
public class Suggest {
    //评价id
    private Integer id;
    //姓名
    private String name;
    //学校
    private String school;
    //建议
    private String conclusion;
    //星级
    private Integer star;
    //评价创建时间

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private Date createTime;

    public Suggest() {
    }

    public Suggest(Integer id, String name, String school, String conclusion, Integer star, Date createTime) {
        this.id = id;
        this.name = name;
        this.school = school;
        this.conclusion = conclusion;
        this.star = star;
        this.createTime = createTime;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSchool() {
        return school;
    }

    public void setSchool(String school) {
        this.school = school;
    }

    public String getConclusion() {
        return conclusion;
    }

    public void setConclusion(String conclusion) {
        this.conclusion = conclusion;
    }

    public Integer getStar() {
        return star;
    }

    public void setStar(Integer star) {
        this.star = star;
    }

    public Date getCreateTime() {
        return createTime;
    }


    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "Suggest{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", school='" + school + '\'' +
                ", conclusion='" + conclusion + '\'' +
                ", star=" + star +
                ", createTime=" + createTime +
                '}';
    }
}
